/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package test;

import ejb.CatalogoManagerLocal;
import entities.*;
import java.util.*;
import javax.ejb.EJB;
import javax.inject.Named;
import javax.faces.view.ViewScoped;

/**
 *
 * @author sflesca
 */
@Named(value = "categoriaManagedBean")
@ViewScoped
public class CategoriaManagedBean {
    @EJB
    private CatalogoManagerLocal catalogoManager;

    /**
     * Creates a new instance of CategoriaManagedBean
     */
    public CategoriaManagedBean() {
    }
    


    /**
     * Get the value of categorie
     *
     * @return the value of categorie
     */
    public List<Categoria> getCategorie() {
        return catalogoManager.getCategorie();
    }

}
